define([], function() {
    'use strict';
    
    /** timeLinestatistics数据结构
        [
            {
                code: "0"
                X: "115.780000"
                Y: "39.910000"
                date: "2013/12/29"
                level: "3"
                location: "北京房山"
                time: "04:41.0"
            },
            .
            .
            .
        ]
    */

    /** pie数据结构
        {
            pie_name: "访问来源",
            legend_data: ['直接访问','邮件营销','联盟广告','视频广告','搜索引擎'], // 数据分类
            series_zqInfo_data: [
                {
                    code: "11",
                    coordinate: [116.62739599225489, 40.250646704999994],
                    name: "北京",
                    pie_radius: "30",
                    data: [
                        {value:335, name:'直接访问'},
                        {value:310, name:'邮件营销'},
                        {value:234, name:'联盟广告'},
                        {value:135, name:'视频广告'},
                        {value:1548, name:'搜索引擎'}
                    ]
                },
                
                {  
                    code: "12",
                    coordinate: [117.33691153899636, 39.4032179],
                    name: "天津",
                    pie_radius: "30",
                    data: [
                        {value:335, name:'直接访问'},
                        {value:310, name:'邮件营销'},
                        {value:234, name:'联盟广告'},
                        {value:135, name:'视频广告'},
                        {value:1548, name:'搜索引擎'}
                    ]
                },
                .
                .
                .
            ]
        }
     */

    /** bar数据结构
        {
            legend_data: ['包租费', '物业费', '水电', '网络', '燃气'], // 数据分类
            series_zqInfo_data: [
                {
                    code: "11",
                    coordinate: [116.62739599225489, 40.250646704999994],
                    name: "北京",
                    size: [100, 60],
                    yaxis_data_name: "物业费",
                    xaxis_data: ['新虹桥', '中山公园', '虹桥', '镇宁路', '天山古北'],
                    data: [20, 12, 31, 34, 31]
                },
                {
                    code: "11",
                    coordinate: [116.62739599225489, 40.250646704999994],
                    name: "北京",
                    size: [100, 60],
                    yAxis_data_name: "物业费",
                    xAxis_data: ['新虹桥', '中山公园', '虹桥', '镇宁路', '天山古北'],
                    data: [20, 12, 31, 34, 31]
                },
                .
                .
                .
            ]
        }
     */

    /** 折线图数据结构
        [
            {
                code: "11",
                coordinate: [116.62739599225489, 40.250646704999994],
                name: "北京",
                size: [100, 60],
                data: {
                    xaxis与yaxis按index一一对应
                    xaxis: ["2016","2017","2018","2019"...],
                    yaxis: [23.6, 15.6, 45, 26.5...]
                }
            },
            .
            .
            .
        ]
     */


    let timeLinestatistics_mateData = null;
    $.ajax({
        type: "get", //请求方式
        url: '../../src/source/data/chinaEarthquake.csv', //文件地址
        async: false,
        success: function(csvstr) { //成功返回
            timeLinestatistics_mateData = Papa.parse(csvstr, { skipEmptyLines: true, header: true }).data;
        },
        error: function(e) { //失败返回
            console.log(e.statusText);
        }
    });

    let zqInfo = [
        ["11",[116.62739599225489,40.250646704999994],"北京"],
        ["12",[117.33691153899636,39.4032179],"天津"],
        ["13",[115.67220706119767,39.33246391],"河北"],["14",[112.45889672316113,37.664186720000004],"山西"],["15",[116.87161602325222,44.461592175],"内蒙古自治区"],["21",[122.392374660987,41.103246585],"辽宁"],["22",[125.41629435123761,43.582457094999995],"吉林"],["23",[125.18345673706209,47.468351645],"黑龙江"],["31",[121.44272533111885,31.099481185000002],"上海"],["32",[119.95813494859692,32.943737675],"江苏"],["33",[119.78379820265195,29.174363485],"浙江"],["34",[117.15516979722035,32.02380282],"安徽"],["35",[118.01656545950974,25.9614581],"福建"],["36",[115.51205121066846,27.283142165],"江西"],["37",[118.0295440767496,36.354253084999996],"山东"],["41",[113.07298023268153,33.87560489],"河南"],["42",[112.8819814255884,31.152917],"湖北"],["43",[111.35483261414214,27.384357129999998],"湖南"],["44",[113.47768784936872,22.868313174999997],"广东"],["45",[109.00709545372038,23.87542753],"广西"],["46",[109.62835129957861,19.161096360000002],"海南"],["50",[107.86709069079316,30.18382491],"重庆"],["51",[102.26166167091348,30.18170999],"四川"],["52",[106.62612525300429,26.92208719],"贵州"],["53",[101.2667636268707,25.183278885],"云南"],["54",[87.47408963956775,31.66864633],"西藏"],["61",[109.56495686000224,35.646821015],"陕西"],["62",[102.8886575309873,37.70811742],"甘肃"],["63",[95.94819323682269,35.406954655],"青海"],["64",[105.96096282715314,37.313457725],"宁夏"],["65",[90.41637624635479,41.758514840000004],"新疆自治区"],["91",[124.40986310050965,51.821597815000004],"大兴安岭森工"],["92",[128.34515901380047,47.6362149],"龙江森工"],["93",[122.00776914620124,51.08026157],"内蒙森工"],["94",[127.50120765347955,42.86447655],"吉林森工"],["95",[81.2524698888453,40.654150259999994],"新疆兵团"]
    ]


    let rawData = [
    ["Manila",19.2,19.5,41.5,35.9,8,8.1,2245,10,72,70,27,435,450,6.234,2.8,9.299,4.191,3.793,4.761,35,292,300,194,5630,0.34,5.58,2.88,17400,47,1.02,18,160,300,140,270,1437,505,2,2.6,19,3400,2500,2700,2700,3600,8900,10900,18800,9800,3500,4000,3100,2800,4800,9700,9700
    ],
    ["Mexico City",26.8,29.5,51.2,45.7,13.7,15.1,2375,6,48,25,21,220,440,3.629,3.967,5.125,5.297,4.155,3.403,44.6,259,480,738,4580,0.37,null,3.6,19400,28,0.81,31,130,210,620,930,1398,984,3.8,4.5,12,8400,3800,3400,3100,4800,19800,21400,21200,13600,7100,15500,4800,3100,14600,28000,28000
    ],
    ["Miami",106.2,103.7,77,70.7,81.8,79.9,1938,12,12,12,5,32,560,3.222,2.86,3.798,-0.321,1.641,3.142,69,499,610,1515,3580,1.83,27.33,15.32,32400,98,1.05,28,160,330,630,880,2693,1929,20.1,26.6,23,63500,30600,40700,40100,56500,46200,70300,101500,95100,49300,46800,30700,33800,37700,71500,71500
    ],
    [
        "Montreal",
        93.1,
        80.9,
        81.8,
        73.7,
        76.2,
        66.2,
        1782,
        13,
        19,
        14,
        14,
        44,
        720,
        2.018,
        2.123,
        2.385,
        0.3,
        1.776,
        2.891,
        71.9,
        519,
        690,
        1359,
        4610,
        2.87,
        70.58,
        12.98,
        21400,
        308,
        1.33,
        51,
        210,
        310,
        630,
        1100,
        2266,
        1735,
        16.7,
        24.8,
        32,
        56700,
        48700,
        43800,
        27600,
        42500,
        44600,
        59700,
        65100,
        61600,
        58900,
        40800,
        25900,
        35400,
        32000,
        56300,
        56300
    ],
    [
        "Moscow",
        45.1,
        50.3,
        66.2,
        61.3,
        30.4,
        33.8,
        1799,
        25,
        18,
        7,
        12,
        119,
        970,
        9.679,
        9.007,
        14.117,
        11.654,
        6.854,
        8.443,
        59.8,
        314,
        690,
        854,
        5050,
        0.85,
        10.56,
        13.24,
        21200,
        73,
        0.93,
        73,
        200,
        530,
        820,
        1040,
        3639,
        2784,
        8.5,
        9.9,
        14,
        11900,
        18600,
        15800,
        13000,
        15900,
        30300,
        28800,
        29500,
        25500,
        19200,
        16800,
        12200,
        11800,
        10000,
        46100,
        46100
    ],
    [
        "Mumbai",
        24.9,
        27.3,
        34.1,
        31,
        8.5,
        9.3,
        2251,
        19,
        56,
        29,
        30,
        338,
        400,
        6.177,
        6.372,
        8.349,
        10.882,
        11.99,
        8.628,
        30.3,
        186,
        210,
        453,
        3610,
        0.13,
        2.72,
        1.76,
        11500,
        754,
        0.91,
        24,
        160,
        280,
        320,
        540,
        1683,
        802,
        2.3,
        2.8,
        11,
        3800,
        3200,
        2100,
        1300,
        3100,
        7900,
        19800,
        21100,
        15400,
        7500,
        3800,
        2700,
        1400,
        4800,
        18000,
        18000
    ],
    [
        "Munich",
        108.3,
        89.9,
        84.6,
        75.1,
        91.5,
        76,
        1755,
        25,
        14,
        11,
        11,
        42,
        800,
        1.784,
        2.276,
        2.754,
        0.234,
        1.15,
        2.483,
        73.3,
        500,
        720,
        971,
        4770,
        3.24,
        71.23,
        18.04,
        38400,
        150,
        1.86,
        53,
        170,
        340,
        830,
        1130,
        2499,
        1813,
        19.2,
        29.8,
        34,
        51200,
        40000,
        37300,
        28000,
        51700,
        55200,
        105900,
        115500,
        79500,
        78200,
        50100,
        40300,
        31500,
        30200,
        105900,
        105900
    ],
    [
        "Nairobi",
        21.4,
        21,
        48.6,
        43.7,
        10.4,
        10.2,
        2196,
        21,
        83,
        27,
        41,
        292,
        490,
        14.455,
        9.76,
        13.1,
        10.552,
        4.087,
        13.998,
        42.7,
        291,
        370,
        479,
        4340,
        0.54,
        35.8,
        7.16,
        23900,
        null,
        1.29,
        22,
        170,
        220,
        220,
        280,
        2382,
        1230,
        2.6,
        3.4,
        24,
        4000,
        3100,
        2600,
        2500,
        4400,
        16200,
        11400,
        16600,
        21000,
        7500,
        4300,
        3400,
        2800,
        4900,
        14200,
        14200
    ],
    [
        "New York",
        100,
        100,
        100,
        100,
        100,
        100,
        2061,
        13,
        9,
        12,
        5,
        28,
        1180,
        3.222,
        2.86,
        3.798,
        -0.321,
        1.641,
        3.142,
        97.6,
        552,
        1000,
        3354,
        3960,
        2.42,
        85.98,
        8.5,
        20500,
        100,
        1.15,
        71,
        340,
        730,
        570,
        980,
        7239,
        4299,
        25.2,
        32.6,
        22,
        62900,
        57200,
        50000,
        69300,
        79100,
        85500,
        118200,
        119300,
        107400,
        68400,
        54800,
        42300,
        41300,
        41700,
        120600,
        120600
    ],
    [
        "Nicosia",
        95,
        107.1,
        64,
        57,
        60.8,
        68.5,
        1778,
        22,
        11,
        7,
        8,
        54,
        490,
        2.245,
        2.165,
        4.377,
        0.174,
        2.564,
        3.486,
        55.6,
        370,
        490,
        919,
        5480,
        1.45,
        null,
        9.31,
        24600,
        74,
        1.67,
        33,
        140,
        270,
        630,
        950,
        1877,
        932,
        17.3,
        19.8,
        11,
        47400,
        24700,
        28600,
        24500,
        33800,
        52700,
        62800,
        48600,
        47700,
        45600,
        23100,
        20200,
        21000,
        21100,
        107000,
        107000
    ],
    [
        "Oslo",
        102.7,
        83.9,
        116,
        104.5,
        119.1,
        97.4,
        1749,
        25,
        17,
        11,
        12,
        36,
        1000,
        2.332,
        0.729,
        3.766,
        2.166,
        2.4,
        1.301,
        102,
        599,
        1270,
        1968,
        5190,
        5.12,
        48.58,
        23.22,
        42700,
        574,
        2.37,
        98,
        220,
        410,
        840,
        1450,
        3250,
        2214,
        24.5,
        38.8,
        36,
        61500,
        60000,
        78200,
        62800,
        72900,
        59800,
        123400,
        97400,
        79400,
        69300,
        64900,
        49500,
        63700,
        46500,
        144000,
        144000
    ],
    [
        "Paris",
        94.8,
        89.4,
        83.9,
        77.5,
        78.1,
        73.6,
        1557,
        29,
        15,
        14,
        12,
        44,
        1100,
        1.912,
        1.607,
        3.159,
        0.103,
        1.735,
        2.294,
        75.6,
        522,
        770,
        1670,
        5030,
        2.16,
        42.87,
        9.39,
        33700,
        486,
        1.89,
        64,
        210,
        600,
        1020,
        1410,
        3250,
        2279,
        18.5,
        25.4,
        26,
        38700,
        32800,
        28000,
        25900,
        32100,
        36800,
        71000,
        71100,
        67100,
        80700,
        34700,
        25300,
        25400,
        25600,
        86900,
        86900
    ],
    [
        "Prague",
        45.1,
        46.2,
        54.3,
        48,
        24.5,
        25.1,
        1829,
        20,
        34,
        13,
        16,
        132,
        740,
        2.543,
        2.862,
        6.339,
        1.034,
        1.464,
        1.929,
        46.8,
        295,
        460,
        725,
        4900,
        1.37,
        12.78,
        8.05,
        27800,
        116,
        1.88,
        58,
        120,
        350,
        250,
        530,
        1230,
        867,
        6.3,
        8,
        20,
        13200,
        16200,
        13600,
        9100,
        15400,
        17100,
        24500,
        25300,
        21000,
        20100,
        13200,
        12200,
        9200,
        10500,
        21900,
        21900
    ],
    [
        "Riga",
        44.3,
        39.2,
        54.5,
        47.2,
        24.2,
        21.4,
        1806,
        23,
        33,
        22,
        22,
        168,
        580,
        6.571,
        10.083,
        15.252,
        3.259,
        -1.224,
        4.223,
        46,
        316,
        410,
        466,
        4460,
        1.3,
        9.23,
        6.34,
        29700,
        98,
        1.76,
        36,
        110,
        300,
        440,
        570,
        932,
        841,
        5.4,
        7.9,
        31,
        8400,
        13700,
        15500,
        14600,
        15300,
        14400,
        23300,
        30400,
        16800,
        18900,
        13700,
        8700,
        9300,
        13000,
        33000,
        33000
    ],
    [
        "Rio de Janeiro",
        44.4,
        45,
        61.2,
        55.5,
        27.2,
        27.5,
        1895,
        30,
        45,
        33,
        11,
        160,
        710,
        4.196,
        3.638,
        5.672,
        4.888,
        5.039,
        6.636,
        54.2,
        354,
        530,
        764,
        5400,
        1.56,
        null,
        7.29,
        16100,
        357,
        0.88,
        23,
        180,
        440,
        230,
        350,
        3198,
        1320,
        6.9,
        8.9,
        15,
        13700,
        9800,
        14200,
        8400,
        18600,
        21200,
        62400,
        33300,
        37600,
        10900,
        10700,
        6600,
        6300,
        7500,
        70300,
        70300
    ],
    [
        "Rome",
        69.6,
        60.9,
        79.2,
        73.8,
        55.1,
        48.2,
        1898,
        22,
        23,
        17,
        19,
        70,
        650,
        2.217,
        2.038,
        3.5,
        0.764,
        1.639,
        2.903,
        72,
        497,
        690,
        1813,
        5190,
        1.94,
        36.69,
        9.38,
        32400,
        389,
        2.27,
        36,
        210,
        320,
        910,
        830,
        3237,
        2033,
        12.1,
        17.9,
        31,
        30600,
        33500,
        22900,
        19600,
        31300,
        74200,
        53100,
        65100,
        28000,
        34300,
        34800,
        22100,
        16200,
        13200,
        94500,
        94500
    ],
    [
        "Santiago de Chile",
        42.8,
        40.6,
        52.9,
        47.6,
        22.6,
        21.5,
        2034,
        15,
        55,
        22,
        21,
        157,
        630,
        3.392,
        4.408,
        8.716,
        1.485,
        1.408,
        3.34,
        46.5,
        348,
        460,
        673,
        4520,
        1.17,
        6.49,
        7.13,
        13400,
        255,
        1.24,
        33,
        140,
        410,
        360,
        610,
        2344,
        1023,
        5.4,
        7.4,
        23,
        15400,
        10000,
        11000,
        6700,
        12200,
        12300,
        28100,
        36700,
        32000,
        21600,
        11300,
        8200,
        7400,
        8500,
        30600,
        30600
    ],
    [
        "São Paulo",
        48.7,
        49.4,
        61.7,
        56.1,
        30.1,
        30.5,
        1809,
        30,
        39,
        27,
        7,
        106,
        770,
        4.196,
        3.638,
        5.672,
        4.888,
        5.039,
        6.636,
        54.8,
        379,
        540,
        854,
        5010,
        1.53,
        null,
        6.83,
        23700,
        485,
        1.28,
        42,
        310,
        470,
        300,
        600,
        2810,
        1580,
        7.7,
        9.8,
        16,
        10600,
        11300,
        12600,
        6600,
        12600,
        25500,
        61900,
        67000,
        28200,
        14600,
        13900,
        8700,
        7100,
        4800,
        19900,
        19900
    ],
    [
        "Seoul",
        80.8,
        74,
        67.9,
        66.3,
        54.8,
        50.2,
        2308,
        13,
        16,
        14,
        10,
        56,
        780,
        1.467,
        4.767,
        5.852,
        2.757,
        2.938,
        4.026,
        64.7,
        629,
        590,
        2175,
        4790,
        0.9,
        17.54,
        3.4,
        26000,
        523,
        1.56,
        60,
        240,
        510,
        220,
        300,
        3444,
        2641,
        12.7,
        17.9,
        23,
        65400,
        43600,
        11700,
        13000,
        41600,
        69800,
        65400,
        52300,
        82900,
        34100,
        27100,
        21800,
        10500,
        24500,
        130800,
        130800
    ],
    [
        "Shanghai",
        37.2,
        38.4,
        56.2,
        49.7,
        20.9,
        21.6,
        1966,
        9,
        28,
        43,
        8,
        142,
        740,
        2.242,
        2.535,
        4.674,
        -0.683,
        3.325,
        5.417,
        48.5,
        404,
        470,
        712,
        3950,
        0.58,
        10.4,
        3.64,
        29400,
        76,
        1.26,
        64,
        250,
        440,
        400,
        960,
        1424,
        919,
        5.4,
        6.8,
        17,
        12200,
        8500,
        9300,
        6700,
        9200,
        23700,
        39600,
        24700,
        15800,
        28900,
        12300,
        7400,
        8200,
        7600,
        53200,
        53200
    ],
    [
        "Singapore",
        50.8,
        53.3,
        94.9,
        89.2,
        48.2,
        50.7,
        2036,
        14,
        18,
        21,
        12,
        58,
        920,
        0.973,
        2.096,
        6.514,
        0.589,
        2.824,
        5.247,
        87.1,
        589,
        710,
        1994,
        5120,
        1.36,
        null,
        8.65,
        124900,
        966,
        1.25,
        88,
        180,
        410,
        530,
        840,
        4455,
        3496,
        12.8,
        15.7,
        18,
        41200,
        21900,
        19600,
        15000,
        27200,
        30400,
        82600,
        77600,
        46800,
        27800,
        28200,
        19000,
        14500,
        21600,
        86800,
        86800
    ],
    [
        "Sofia",
        32.6,
        32.1,
        42.4,
        36.5,
        13.8,
        13.6,
        1894,
        22,
        36,
        20,
        28,
        248,
        420,
        7.417,
        7.571,
        11.95,
        2.473,
        3.036,
        3.389,
        35.6,
        265,
        290,
        336,
        3890,
        0.66,
        6.62,
        2,
        27700,
        119,
        1.71,
        19,
        80,
        220,
        270,
        430,
        764,
        453,
        3.4,
        4.5,
        23,
        4700,
        7300,
        7500,
        5700,
        9300,
        11100,
        18100,
        15200,
        10400,
        10700,
        7400,
        7400,
        5100,
        10900,
        21900,
        21900
    ],
    [
        "Stockholm",
        90.2,
        84.9,
        92,
        81.7,
        82.9,
        78.1,
        1795,
        26,
        17,
        18,
        11,
        45,
        810,
        1.498,
        1.677,
        3.298,
        1.989,
        1.907,
        1.366,
        79.7,
        553,
        900,
        1178,
        4950,
        4.52,
        41.6,
        24.64,
        36400,
        334,
        2.14,
        68,
        180,
        340,
        760,
        1240,
        2525,
        1826,
        19.7,
        27,
        26,
        46600,
        41300,
        41300,
        43300,
        44300,
        45800,
        88800,
        81900,
        72500,
        48600,
        41100,
        37400,
        37900,
        41700,
        83400,
        83400
    ],
    [
        "Sydney",
        112.5,
        117.1,
        83.7,
        77.8,
        94.1,
        98,
        1846,
        15,
        11,
        9,
        6,
        32,
        690,
        3.538,
        2.332,
        4.353,
        1.82,
        2.845,
        3.389,
        75.9,
        508,
        680,
        1644,
        5210,
        3.43,
        39.35,
        9.75,
        22200,
        245,
        1.5,
        45,
        220,
        350,
        580,
        820,
        4183,
        2175,
        24.7,
        30.6,
        18,
        57400,
        41800,
        39400,
        39200,
        72000,
        55900,
        111000,
        93400,
        79000,
        52200,
        50500,
        40400,
        50500,
        36800,
        110300,
        110300
    ],
    [
        "Taipei",
        52,
        61.4,
        63.9,
        58,
        33.3,
        39.3,
        2115,
        11,
        15,
        9,
        11,
        79,
        650,
        0.598,
        1.798,
        3.527,
        -0.872,
        0.963,
        1.422,
        56.6,
        448,
        490,
        945,
        4290,
        0.68,
        11.25,
        4.37,
        22400,
        382,
        1.1,
        63,
        120,
        350,
        980,
        1070,
        2434,
        1696,
        9.9,
        10.8,
        8,
        25600,
        23200,
        16700,
        20100,
        24700,
        41300,
        61500,
        44400,
        29300,
        20600,
        15500,
        12700,
        11000,
        14800,
        36000,
        36000
    ],
    [
        "Tallinn",
        47.9,
        48.6,
        58.3,
        50.2,
        28,
        28.3,
        1760,
        28,
        27,
        20,
        15,
        139,
        490,
        4.43,
        6.598,
        10.366,
        -0.085,
        2.894,
        5.121,
        49,
        333,
        380,
        453,
        5200,
        1.81,
        9.79,
        5.86,
        21200,
        null,
        1.72,
        34,
        160,
        250,
        610,
        830,
        984,
        712,
        7.1,
        9.1,
        20,
        11400,
        17700,
        21200,
        10600,
        17900,
        21400,
        51000,
        16600,
        27300,
        11800,
        14200,
        8800,
        10600,
        13600,
        27800,
        27800
    ],
    [
        "Tel Aviv",
        57,
        57.6,
        75.4,
        68.5,
        43,
        43.5,
        1966,
        16,
        17,
        9,
        20,
        100,
        600,
        2.107,
        0.516,
        4.745,
        3.342,
        2.686,
        3.45,
        66.8,
        476,
        620,
        1282,
        5740,
        1.72,
        16.95,
        13.57,
        33900,
        413,
        2.14,
        40,
        180,
        360,
        440,
        580,
        2577,
        1709,
        11,
        14,
        18,
        20700,
        26500,
        18900,
        21000,
        25000,
        33500,
        48700,
        56200,
        56200,
        28900,
        18400,
        12300,
        15200,
        19700,
        83000,
        83000
    ],
    [
        "Tokyo",
        84.7,
        82.9,
        109,
        100.1,
        92.4,
        90.4,
        2012,
        16,
        8,
        14,
        15,
        35,
        1190,
        0.3,
        0,
        1.396,
        -1.347,
        -0.72,
        -0.283,
        97.7,
        927,
        940,
        1631,
        4820,
        2.46,
        44.72,
        21.42,
        26300,
        495,
        1.62,
        72,
        370,
        730,
        1220,
        1880,
        6177,
        2486,
        22.8,
        30.1,
        24,
        78200,
        56300,
        54000,
        47000,
        77700,
        70200,
        89400,
        102100,
        77200,
        79400,
        48800,
        35100,
        48000,
        44700,
        144000,
        144000
    ],
    [
        "Toronto",
        103.4,
        92.4,
        74.3,
        67.2,
        76.8,
        68.6,
        1847,
        14,
        10,
        11,
        9,
        38,
        680,
        2.018,
        2.123,
        2.385,
        0.3,
        1.776,
        2.891,
        65.6,
        453,
        750,
        1087,
        4520,
        3.08,
        35.62,
        13.31,
        15000,
        75,
        1.25,
        71,
        150,
        340,
        310,
        840,
        2564,
        2020,
        17.3,
        25,
        27,
        82900,
        36700,
        33300,
        46200,
        44300,
        53000,
        66600,
        47300,
        84800,
        32900,
        26300,
        28000,
        29700,
        37400,
        74600,
        74600
    ],
    [
        "Vilnius",
        42.6,
        41.6,
        50.9,
        43.6,
        21.7,
        21.2,
        1789,
        24,
        32,
        19,
        33,
        168,
        410,
        3.788,
        5.772,
        11.138,
        4.164,
        1.19,
        4.124,
        42.5,
        284,
        360,
        323,
        4770,
        0.94,
        13.73,
        4.63,
        23700,
        null,
        1.72,
        22,
        90,
        220,
        480,
        510,
        984,
        492,
        5.3,
        7.1,
        23,
        10500,
        12200,
        13900,
        9800,
        17700,
        21900,
        23600,
        18500,
        16600,
        20200,
        10400,
        6500,
        8500,
        8000,
        38500,
        38500
    ],
    [
        "Warsaw",
        44.3,
        40.8,
        53.7,
        48,
        23.8,
        21.9,
        1792,
        23,
        35,
        13,
        24,
        141,
        650,
        1.033,
        2.493,
        4.215,
        3.45,
        2.514,
        4.268,
        46.8,
        291,
        420,
        712,
        4410,
        0.79,
        14.62,
        3.15,
        25000,
        55,
        1.76,
        31,
        110,
        280,
        580,
        950,
        1618,
        1204,
        5.5,
        7.7,
        28,
        11900,
        10000,
        12600,
        9700,
        13200,
        20500,
        20900,
        27600,
        17900,
        11900,
        11700,
        11000,
        8400,
        7600,
        24900,
        24900
    ],
    [
        "Vienna",
        100.6,
        88.8,
        81.3,
        72.1,
        80.2,
        70.8,
        1786,
        25,
        13,
        8,
        8,
        46,
        830,
        1.686,
        2.203,
        3.223,
        0.401,
        1.69,
        3.6,
        70.3,
        503,
        680,
        945,
        5560,
        2.59,
        42.03,
        17.27,
        29800,
        453,
        1.8,
        47,
        140,
        360,
        980,
        1040,
        2486,
        1424,
        17.8,
        26.1,
        29,
        44700,
        42900,
        34100,
        29500,
        56200,
        49000,
        96100,
        82900,
        69800,
        49100,
        49900,
        30000,
        25400,
        32600,
        72500,
        72500
    ],
    [
        "Zurich",
        119.1,
        120.3,
        110,
        102.5,
        131.1,
        132.4,
        1887,
        23,
        12,
        5,
        5,
        22,
        1250,
        1.047,
        0.732,
        2.43,
        -0.476,
        0.685,
        0.228,
        100,
        704,
        1130,
        2551,
        5130,
        4.66,
        68.47,
        28.93,
        45200,
        426,
        2.01,
        90,
        280,
        630,
        1100,
        1190,
        4481,
        2499,
        33.4,
        42.7,
        21,
        104600,
        90700,
        68900,
        61800,
        79800,
        69900,
        137200,
        130000,
        115700,
        96900,
        71100,
        61400,
        53200,
        58900,
        140400,
        140400
    ],
    ["Warsaw",44.3,40.8,53.7,48,23.8,21.9,1792,23,35,13,24,141,650,1.033,2.493,4.215,3.45,2.514,4.268,46.8,291,420,712,4410,0.79,14.62,3.15,25000,55,1.76,31,110,280,580,950,1618,1204,5.5,7.7,28,11900,10000,12600,9700,13200,20500,20900,27600,17900,11900,11700,11000,8400,7600,24900,24900  ],
    ["Vienna",100.6,88.8,81.3,72.1,80.2,70.8,1786,25,13,8,8,46,830,1.686,2.203,3.223,0.401,1.69,3.6,70.3,503,680,945,5560,2.59,42.03,17.27,29800,453,1.8,47,140,360,980,1040,2486,1424,17.8,26.1,29,44700,42900,34100,29500,56200,49000,96100,82900,69800,49100,49900,30000,25400,32600,72500,72500  ],
    ["Zurich",119.1,120.3,110,102.5,131.1,132.4,1887,23,12,5,5,22,1250,1.047,0.732,2.43,-0.476,0.685,0.228,100,704,1130,2551,5130,4.66,68.47,28.93,45200,426,2.01,90,280,630,1100,1190,4481,2499,33.4,42.7,21,104600,90700,68900,61800,79800,69900,137200,130000,115700,96900,71100,61400,53200,58900,140400,140400  ]
    ]

    let pie_mateData = {
        pie_name: "访问来源",
        legend_data: ['直接访问','邮件营销','联盟广告','视频广告','搜索引擎'], // 数据分类
        series_zqInfo_data: []
    }

    let bar_mateData = {
        legend_data: ['包租费', '物业费', '水电', '网络', '燃气'], // 数据分类
        series_zqInfo_data: []
    }

    let line_mateData = [];

    zqInfo.forEach((ele, index) => {
        pie_mateData.series_zqInfo_data.push({
            code: ele[0],
            coordinate: ele[1],
            name: ele[2],
            pie_radius: "30",
            data: [
                {value:335, name:'直接访问'},
                {value:310, name:'邮件营销'},
                {value:234, name:'联盟广告'},
                {value:135, name:'视频广告'},
                {value:1548, name:'搜索引擎'}
            ]
        });

        // ['包租费', '物业费', '水电', '网络', '燃气'][parseInt(Math.random() * 5)]
        bar_mateData.series_zqInfo_data.push({
            code: ele[0],
            coordinate: ele[1],
            name: ele[2],
            size: [100, 60],
            yaxis_data_name: ['包租费', '物业费', '水电', '网络', '燃气'][parseInt(Math.random() * 5)],
            xaxis_data: ['新虹桥', '中山公园', '虹桥', '镇宁路', '天山古北'],
            data: [20, 12, 31, 34, 31]
        })

        line_mateData.push({
            code: ele[0],
            coordinate: ele[1],
            name: ele[2],
            size: [100, 60],
            data: {
                xaxis: ["2014","2015","2016","2017","2018","2019"],
                yaxis: rawData[index].slice(1, 7)
            }
        })
    })

    function getdata(model) {
        switch (model) {
            case "pie":
                return pie_mateData
        
            case "bar":
                return bar_mateData
        
            case "line":
                return line_mateData
        
            case "timelinestatistics":
                return timeLinestatistics_mateData
        
        }
    }

    return {
        getdata : getdata
    }
});